package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 考核得分风控明细管理
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_ASSESS_SCORE_DETAIL")
public class IgAssessScoreDetail extends Model<IgAssessScoreDetail> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("ASSESS_SCORE_DETAIL_ID")
    private String assessScoreDetailId;

    /**
     * 考核得分主表主键
     */
    @TableField("ASSESS_SCORE_MANAGE_ID")
    private String assessScoreManageId;

    /**
     * 部门名称
     */
    @TableField("DEPT_NAME")
    private String deptName;

    /**
     * 项目负责人ID
     */
    @TableField("DEPT_ID")
    private String deptId;

    /**
     * 考核类型
     */
    @TableField("ASSESS_TYPE")
    private Integer assessType;

    /**
     * 是否完成
     */
    @TableField("IS_FINISH")
    private Integer isFinish;

    /**
     * 操作人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 操作时间
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;


    public String getAssessScoreDetailId() {
        return assessScoreDetailId;
    }

    public IgAssessScoreDetail setAssessScoreDetailId(String assessScoreDetailId) {
        this.assessScoreDetailId = assessScoreDetailId;
        return this;
    }

    public String getAssessScoreManageId() {
        return assessScoreManageId;
    }

    public IgAssessScoreDetail setAssessScoreManageId(String assessScoreManageId) {
        this.assessScoreManageId = assessScoreManageId;
        return this;
    }

    public String getDeptName() {
        return deptName;
    }

    public IgAssessScoreDetail setDeptName(String deptName) {
        this.deptName = deptName;
        return this;
    }

    public String getDeptId() {
        return deptId;
    }

    public IgAssessScoreDetail setDeptId(String deptId) {
        this.deptId = deptId;
        return this;
    }

    public Integer getAssessType() {
        return assessType;
    }

    public IgAssessScoreDetail setAssessType(Integer assessType) {
        this.assessType = assessType;
        return this;
    }

    public Integer getIsFinish() {
        return isFinish;
    }

    public IgAssessScoreDetail setIsFinish(Integer isFinish) {
        this.isFinish = isFinish;
        return this;
    }

    public String getCreateOp() {
        return createOp;
    }

    public IgAssessScoreDetail setCreateOp(String createOp) {
        this.createOp = createOp;
        return this;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public IgAssessScoreDetail setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.assessScoreDetailId;
    }

    @Override
    public String toString() {
        return "IgAssessScoreDetail{" +
        "assessScoreDetailId=" + assessScoreDetailId +
        ", assessScoreManageId=" + assessScoreManageId +
        ", deptName=" + deptName +
        ", deptId=" + deptId +
        ", assessType=" + assessType +
        ", isFinish=" + isFinish +
        ", createOp=" + createOp +
        ", createDate=" + createDate +
        "}";
    }
}
